package com.heima.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.admin.pojos.AdSensitive;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AdSensitiveMapper extends BaseMapper<AdSensitive> {
    /**
     *          获取所有敏感词
     * @return    敏感词  list集合
     */
    @Select("select sensitives from ad_sensitive")
    List<String> findallSensitives();
}
